package lt.web.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @TableName app_info
 */
@Data
@TableName("app_info")
public class AppInfo implements Serializable {

    @TableId(value = "id",type = IdType.AUTO)
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private String softwarename;

    private String apkname;

    private String supportrom;

    private String interfacelanguage;

    private BigDecimal softwaresize;

    private Date updatedate;

    private Long devid;

    private String appinfo;

    private Long status;

    private Date onsaledate;

    private Date offsaledate;

    private Long flatformid;

    private Long categorylevel3;

    private Long downloads;

    private Long createdby;

    private Date creationdate;

    private Long modifyby;

    private Date modifydate;

    private Long categorylevel1;

    private Long categorylevel2;

    private String logopicpath;

    private String logolocpath;

    private Long versionid;



    @TableField(exist = false)
    private String statusName;//app状态名称
    @TableField(exist = false)
    private String flatformName;//app所属平台名称
    @TableField(exist = false)
    private String devName;//开发者名称

    @TableField(exist = false)
    private String categoryLevel1Name;//所属一级分类名称
    @TableField(exist = false)
    private String categoryLevel2Name;//所属二级分类名称
    @TableField(exist = false)
    private String categoryLevel3Name;//所属三级分类名称
    @TableField(exist = false)
    private String versionNo;//最新的版本号



    @Serial
    private static final long serialVersionUID = 1L;
}